// 引入axios
import axios from 'axios'

// 请求正在热映数据
const movieOnInfoList = () => {
  return axios.get('/api')
}

// 请求即将上映的数据
const comingList = () => {
  return axios.get('/api1')
}

// 请求影院数据
const cinemaList = () => {
  return axios.get('/api2')
}

// 将定义好的方法暴露出去
export {
  movieOnInfoList,
  comingList,
  cinemaList
}

// http://m.maoyan.com/ajax/moreComingList?token=m8PB1ua2tDZtj2EvgY9CtEccd44AAAAAmAkAACum6J1JVYUDmxNPGipK7RN6vEmPJj5aqyZm6CmlH8LNgv95nanWVmPNOrYEBz_feg&movieIds=1297995%2C1203825%2C1292%2C1163219%2C1277527%2C1179339%2C1250662%2C1284949%2C1230121%2C1263827&optimus_uuid=586338601A1E11EA8DD6493669058136B5195FE14A5E402DBD4482F72D618D9C&optimus_risk_level=71&optimus_code=10

// http://m.maoyan.com/ajax/movieOnInfoList?token=m8PB1ua2tDZtj2EvgY9CtEccd44AAAAAmAkAACum6J1JVYUDmxNPGipK7RN6vEmPJj5aqyZm6CmlH8LNgv95nanWVmPNOrYEBz_feg&optimus_uuid=586338601A1E11EA8DD6493669058136B5195FE14A5E402DBD4482F72D618D9C&optimus_risk_level=71&optimus_code=10

// http://m.maoyan.com/ajax/comingList?ci=1&token=m8PB1ua2tDZtj2EvgY9CtEccd44AAAAAmAkAACum6J1JVYUDmxNPGipK7RN6vEmPJj5aqyZm6CmlH8LNgv95nanWVmPNOrYEBz_feg&limit=10&optimus_uuid=586338601A1E11EA8DD6493669058136B5195FE14A5E402DBD4482F72D618D9C&optimus_risk_level=71&optimus_code=10

// http://m.maoyan.com/ajax/cinemaList?day=2019-12-09&offset=0&limit=20&districtId=-1&lineId=-1&hallType=-1&brandId=-1&serviceId=-1&areaId=-1&stationId=-1&item=&updateShowDay=true&reqId=1575873886053&cityId=1&optimus_uuid=586338601A1E11EA8DD6493669058136B5195FE14A5E402DBD4482F72D618D9C&optimus_risk_level=71&optimus_code=10
